package com.jason.kotlin.meta.architecture2.repository

import com.jason.kotlin.meta.architecture2.model.UserBean
import com.jason.kotlin.meta.architecture2.model.WanApiResponse

interface UserApi {

    suspend fun login(username: String, password: String) : WanApiResponse<UserBean>

    suspend fun register(username: String, password: String, repassword:String) : WanApiResponse<Any>

    suspend fun logout(): WanApiResponse<Any?>
}